/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.ui.controls;

import ac.uitls.propertiesOperation;
import java.awt.ComponentOrientation;

import javax.swing.JFrame;

/**
 *
 * @author empcl_000
 */
public class PCLFrame extends JFrame {

    ac.ui.utils u = new ac.ui.utils();
    propertiesOperation op = new propertiesOperation();

    public PCLFrame() {

    }

    protected void onLoad() {

        if (op.getProperty("lang").equals("ar")) {
            applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
        }
        u.updateComponents(getContentPane().getComponents());
    }

}
